package com.promise.jokerdream.database.entity

import androidx.room.Entity
import androidx.room.ForeignKey
import androidx.room.Index
import androidx.room.PrimaryKey
import kotlinx.serialization.Serializable

/**
 * Room 实体类 - 任务组配置
 */
@Serializable
@Entity(
    tableName = "task_group_config",
    indices = [Index(value = ["userId"])]
)
data class TaskGroupConfigEntity(
    @PrimaryKey(autoGenerate = true)
    val groupId: Long = 0, // 自增主键
    val userId: String,
    val groupName: String
)

